<style>
.setimg{
	margin:-2px 5px 0 0 
}
#addform .file{
	position: relative;
}
#addform .file span{
	position: absolute;
	right: 80px;
	top: 15px;
	background-color: #414959;
	padding: 2px 6px;
	height: 23px;
	line-height: 23px;
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	overflow: hidden;
	background-image: linear-gradient(to bottom, #6c7994, #414959);
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border: 1px solid #363d4a;
	display: inline-block;
	*display: inline;
	*zoom: 1;
}
#addform .file span input{
	position: absolute;
	font-size: 100px;
	left: 0;
	top: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	cursor: pointer;
}
</style>
<div class="row-fluid">
	<a style="border:1px solid #ccc" class="block-heading" data-toggle="collapse">列表数据</a>
    <div class="well">
		 <!--<button class="btn btn-primary ifrm" data-url="/project/addPro" data-width="750" data-height="380" data-title="添加套餐" data-params="" style="float:right;padding:3px 6px">添加套餐</button>-->
	    <div class="btn-toolbar">

		</div>
		<hr>
		<table class="table">
		      <thead>
		        <tr>
		            <th style="text-align:center;">编号</th>
		            <th style="text-align:center;">订单号</th>
		            <th style="text-align:center;">项目名称</th>
		            <th style="text-align:center;">是否使用</th>
		            <th style="text-align:center;">操作地</th>
		            <th style="text-align:center;">操作护士</th>
		            <th style="text-align:center;">操作医生</th>
					<th style="text-align:center;">使用时间</th>
		        </tr>

		      </thead>
		      <tbody>
		      	<?php if($getData){foreach($getData AS $key=>$val){ ?>
		        <tr> 
		            <td style="text-align:center;vertical-align:middle;"><?=$val['card_id']?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['order_id']?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['goods_name']?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['is_used']?'是':'否'?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['operate_place']?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['operate_nurse']?></td>
		            <td style="text-align:center;vertical-align:middle;"><?=$val['operate_doctor']?></td>
					<td style="text-align:center;vertical-align:middle;"><?=$val['use_at']?date('Y-m-d H:i',$val['use_at']):'-'?></td>
				</tr>
		        <?php }}else{?>
		        	<tr><td style="text-align:center" colspan=8>暂无数据</td></tr>
		        <?php }?>
		      </tbody>
		   </table>
		   <span style="float:right;margin-top:-44px"><?=$page?></span>
	</div>
</div>
<script>
$(function(){
	$('.decate').click(function(){
		if(!window.confirm('确认'+$(this).attr('title')+'吗 ?')){
			return false;
		}
		window.location = $(this).attr('href');
	});
})
</script>